package com.sky.mapper;

import com.github.pagehelper.Page;
import com.sky.annotaition.AutoFill;
import com.sky.dto.SetmealPageQueryDTO;
import com.sky.entity.Setmeal;
import com.sky.entity.User;
import com.sky.enumeration.OperationType;
import com.sky.vo.SetmealVO;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface UserMapper {
@Select("select * from user where openid = #{openid}")
    User getByOpenId(String openid);

    /**
     * 添加
     * @param user
     */
    void insert(User user);
}
